<#-- 导入模版定义文件-->
<#include "../template/template_editPage.ftl">
<@edit title="供应商品详细信息">

<body class="input">


<div class="body">
    <div class="inputBar">
        <h1><span class="icon">&nbsp;</span>供应商品详细信息</h1>
    </div>
    <form id="inputForm" class="validate" action="" method="post">
        <ul class="tab">
            <li>
                <input type="button" value="基本信息" hidefocus="true"/>
            </li>
        </ul>
        <table class="inputTable tabContent">
            <tr>
                <th>
                    商品编号:
                </th>
                <td>
                    <input type="text" name="goodsSupply.goodsId" class="formText"
                           value="${(goodsSupply.goodsId)!}" readonly="readonly"/>
                </td>
            </tr>
            <tr>
                <th>
                    商品名称：
                </th>
                <td>
                    <input type="text" name="goodsSupply.goodsName" class="formText"
                           value="${(goodsSupply.goodsName)!}" readonly="readonly"/>
                </td>
            </tr>
            <tr>
                <th>
                    品牌编号:
                </th>
                <td>
                    <input type="text" name="goodsSupply.goodsCategoryId" class="formText"
                           value="${(goodsSupply.goodsCategoryId)!}" readonly="readonly"/>
                </td>
            </tr>
            <tr>
                <th>
                    商品品牌名称:
                </th>
                <td>
                    <input type="text" name="goodsSupply.brandName" class="formText"
                           value="${(goodsSupply.brandName)!}" readonly="readonly"/>
                </td>
            </tr>

            <tr>
                <th>
                    供应商编号：
                </th>
                <td>
                    <input type="text" name="goodsSupply.suppliersId" class="formText"
                           value="${(goodsSupply.suppliersId)!}" readonly="readonly"/>
                </td>
            </tr>
            <tr>
                <th>
                    供应商名称：
                </th>
                <td>
                    <input type="text" name="goodsSupply.supplyName" class="formText"
                           value="${(goodsSupply.supplyName)!}" readonly="readonly"/>
                </td>
            </tr>

            <tr>
                <th>
                    供应商原始商品编号：
                </th>
                <td>
                    <input type="text" name="goodsSupply.originalGoodsId" class="formText"
                           value="${(goodsSupply.originalGoodsId)!}" readonly="readonly"/>
                </td>
            </tr>
            <tr>
                <th>
                    商品进价(元)：
                </th>
                <td>
                    <input type="text" name="goodsSupply.goodsCostPrice" class="formText"
                           value="${(goodsSupply.goodsCostPrice*1.0/1000)?string("0.000")}" readonly="readonly"/>
                </td>
            </tr>
            <#if goodsSupply.suppliersId?? && goodsSupply.suppliersId=="20121002" >
            <#else>
                <tr>
                    <th>
                        商品面值(元)：
                    </th>
                    <td>
                        <input type="text" name="goodsSupply.goodsValue" class="formText"
                               value="${(goodsSupply.goodsValue*1.0/1000)?string("0.000")}" readonly="readonly"/>
                    </td>
                </tr>
            </#if>
            <tr>
                <th>
                    商品状态：
                </th>
                <td>
                    <select name="goodsSupply.goodsState" class="formText" disabled="disabled">
                        <option value="">请选择...</option>
                        <option value="0"
                                <#if goodsSupply.goodsState?? && goodsSupply.goodsState=="0">selected="selected"</#if>>
                            下架
                        </option>
                        <option value="1"
                                <#if goodsSupply.goodsState?? && goodsSupply.goodsState=="1">selected="selected"</#if>>
                            上架
                        </option>
                    </select>
                </td>
            </tr>
            <tr>
                <th>
                    官方网址：
                </th>
                <td>
                    <input type="text" name="goodsSupply.officialUrl" class="formText"
                           value="${(goodsSupply.officialUrl)!}" readonly="readonly"/>
                </td>
            </tr>
            <tr>
                <th>
                    充值方式：
                </th>
                <td>
                    <select name="goodsSupply.rechargeMode" class="formText" disabled="disabled">
                        <option value="">请选择...</option>
                        <option value="2"
                                <#if goodsSupply.rechargeMode?? && goodsSupply.rechargeMode=="2">selected="selected"</#if>>
                            直充
                        </option>
                        <option value="1"
                                <#if goodsSupply.rechargeMode?? && goodsSupply.rechargeMode=="1">selected="selected"</#if>>
                            卡充
                        </option>
                    </select>
                </td>
            </tr>
            <tr>
                <th>
                    是否启用：
                </th>
                <td>
                    <select name="goodsSupply.enable" class="formText" disabled="disabled">
                        <option value="">请选择...</option>
                        <option value="0"
                                <#if goodsSupply.enable?? && goodsSupply.enable=="0">selected="selected"</#if>>
                            禁用
                        </option>
                        <option value="1"
                                <#if goodsSupply.enable?? && goodsSupply.enable=="1">selected="selected"</#if>>
                            启用
                        </option>
                    </select>
                </td>
            </tr>
            <tr>
                <th>
                    可充值区域：
                </th>
                <td>
                    <input type="text" name="goodsSupply.rechargeArea" class="formText"
                           value="${(goodsSupply.rechargeArea)!}" readonly="readonly"/>
                </td>
            </tr>
            <tr>
                <th>
                    充值限制：
                </th>
                <td>
                    <input type="text" name="goodsSupply.rechargeLimit" class="formText"
                           value="${(goodsSupply.rechargeLimit)!}" readonly="readonly"/>
                </td>
            </tr>
            <tr>
                <th>
                    操作员账号：
                </th>
                <td>
                    <input type="text" name="goodsSupply.operator" class="formText"
                           value="${(goodsSupply.operator)!}" readonly="readonly"/>
                </td>
            </tr>
            <tr>
                <th>
                    记录插入时间：
                </th>
                <td>
                    <input type="text" name="goodsSupply.insertTime" class="formText"
                           value="${(goodsSupply.insertTime)!}" readonly="readonly"/>
                </td>
            </tr>
            <tr>
                <th>
                    记录修改时间：
                </th>
                <td>
                    <input type="text" name="goodsSupply.modifyTime" class="formText"
                           value="${(goodsSupply.modifyTime)!}" readonly="readonly"/>
                </td>
            </tr>
            <tr>
                <th>
                    商品描述：
                </th>
                <td>
                    <textarea name="goodsSupply.goodsDescription" class="formTextarea"
                              readonly="readonly">${(goodsSupply.goodsDescription)!}</textarea>
                </td>
            </tr>
            <tr>
                <th>
                    备注：
                </th>
                <td>
                    <textarea name="goodsSupply.remark" class="formTextarea"
                              readonly="readonly">${(goodsSupply.remark)!}</textarea>
                </td>
            </tr>
        </table>
        <div class="buttonArea">
            <input type="button" class="formButton" onclick="window.history.back(); return false;" value="返  回"
                   hidefocus="true"/>
        </div>
    </form>
</div>
</body>
</@edit>
